package lanQiao;

public class YearDepend
{
	public static void main(String[] args)
	{
		int year = (new java.util.Scanner(System.in)).nextInt();
		if(year%400==0||year%100!=0&&year%4==0)
			System.out.println("yes");
		else
			System.out.println("no");
	}
}
